package com.zjxd.business.web.api.resource;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zjxd.business.web.model.mapper.TAResourceMapper;
import com.zjxd.business.web.model.pojo.TAResource;

@Service
public class ResourceServiceImpl implements ResourceService{

	@Autowired
	private TAResourceMapper tAResourceMapper;
	
	/**
	 * 根据userid获得顶层资源列表
	 */
	public List<TAResource> getListByUserid(Long userid) {
		
		return tAResourceMapper.getListByUserid(userid);
	}

}
